by Devin Yang
(This article was automatically translated.)

Published - 7 years ago ( Updated - 7 years ago )

Laravel 5.6 is scheduled to be released in February 2018, what changes? Let's see.

1. In Laravel 5.6, Argon2i password hashing algorithm will be supported. (Argon2i Password Hashing Algorithm)
Argon2 is available in three versions:
1. Argon2d resists GPU cracking attacks to the greatest extent.
2. Argon2i is optimized to resist side-channel attacks.
3. Argon2id is a hybrid version, the above two versions are mixed.

It doesn't matter if you don't understand it, I don't understand it anyway, the point is, it's safe to be sure anyway.
This is in the Open Cryptography Competition (PHC), designed by Alex Biryukov, Daniel Dinu and Dmitry Khovratovich on July 20, 2015, and finally selected as the PCH winner. The goal of the Open Cryptography Competition (PHC) is Select more cryptographic hash functions that can be recognized as standard.

The old bcrypt will continue to be supported and will remain as the default. After the official release of Laravel 5.6,
If you're using a new project it's worth considering switching to Argon2i.

Second, there are new Blade Directives in Laravel 5.6.
5.5 hours
{{ csrf_field() }} {{ method_field('PUT') }}
After 5.6, you can use the directives as follows, which is even simpler.
@method('put') @csrf
3. Laravel 5.6 will remove the artisan optimzie command.
You may have noticed that in 5.5, after entering php artisan, you will see that the command has been listed as deprecated
Help:
Optimize the framework for better performance ( deprecated )

Since PHP 7 implements PHP op-code caching, this command is no longer needed.

As an aside, the current fpm image used by D-Laravel has also compiled opcache.so, and it can be used after adding it to php.ini.
If you want to use Xdebug and OPCache together, you must load Xdebug after OPCache.

For example: below.
extension=opcache.so
extension=xdebug.so

In addition, the latest php version 7.2.1 image does not support xdebug, so you cannot use the xdebug.so extension function in php version 7.2.1.

Tags: laravel

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


docker,laravel

It's super easy to build a Lravel development environment with Docker

Are you ready for the Laravel 5.5 system environment? laravel/framework 5.5.x-dev requires php >=7.0 -> your PHP version (5.6.30) does not satisfy that requirement. This article describes how to create a Laravel development environment using Docker. With the simple to explosive D-Laravel simple bash, Don't say that I can't set up a Laravel development environment.

dlaravel

D-Laravel test domain name *.dev changed to *.test

Since Google Chrome 63 will forcibly convert the domain name of *.dev to https, the domain name of the new version of D-Laravel will be changed to *.test. This article explains how to update.

dlaravel

How to automatically detect and update the certificate issued by let's encrypt through getssl

It's really great that let's encrypt provides free certificates. However, is it a bit troublesome to update the certificate every three months? This article introduces how to generate multi-domain SAN certificate settings through getssl, and schedule automatic certificate renewal. It's very simple, just six steps to get it done.